package com.demo.service;

import com.demo.domain.Customer;

import java.util.List;

public interface CustomerService {

    // 注册/保存
    void saveCustomer(Customer customer);

    // 查找用户列表
    List<Customer> find();

    //拿到用户id
    public Customer findOne(int cust_id);

    //删除
    public void delete(Customer c);

    //修改
    void update(Customer customer);

    //条件查询
    public List<Customer> findCondition(Customer customer);

    //多条件查询
    public List<Customer> findMoreCondition(Customer customer);


}
